import request from "./utils/request";
import { API_CONFIG } from "./config/api.config";

const userApi = {
  // 兑换
  exchange(data) {
    return request({
      url: API_CONFIG.USER.EXCHANGE,
      method: "post",
      data,
    });
  },
};

export default userApi;
